package com.opennews.openplatform

class JoinAccountGroupRequest {
    String id
    AccountGroup accountGroup
    User owner
    User sender
    User receiver
    String roles
    Date lastUpdated

    static constraints = {
        accountGroup nullable: false
        owner nullable: false
        sender nullable: false
        receiver nullable: false
        roles nullable: false, blank: false
    }
}